import{instance,key} from './index'
console.log(key)
export const getLocal = () => {
    return instance.get(`/ip?key=${key}`)
}
export const getPlace = () => {
    return instance.get(`/ip?key=${key}`)
}
export const getGeo = (word) => {
    return instance.get(`/geocode/geo?address=${word}&key=${key}`)
}